package cn.echogo.framework.http.bak;

public interface EGHttpResponseHandler {
	
	/**
	 * Http调用成功返回
	 * @param taken
	 * @param seq
	 * @param response 字符串、JSON对象、自定义对象、字节数组、Bitmap等
	 */
    public void onHttpSuccess(String taken, int seq, Object response);

    /**
     * Http调用失败返回
     * @param taken
     * @param seq
     * @param e
     */
    public void onHttpFailure(String taken, int seq, Throwable e);

}
